<html>
<head>
    <title>客户投诉 - 客户无忧</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="https://res28.kehu51.com/css/style.css?v=201808081024">
    <link rel="stylesheet" type="text/css" href="https://res28.kehu51.com/css/webcontrol.css">
    <script type="text/javascript" src="https://res28.kehu51.com/js/jquery/jquery.2.1.1.min.js"></script>
    <script type="text/javascript" src="https://res28.kehu51.com/js/domain.js"></script>
    <script type="text/javascript" src="https://res28.kehu51.com/Dialog/zDialog.js?v=201807031656"></script>
    <script type="text/javascript" src="https://res28.kehu51.com/js/common.js?v=20180809"></script>
    <script type="text/javascript" src="https://res28.kehu51.com/js/module.js?v=20180814" charset="gb2312"></script>
    <script type="text/javascript" src="https://res28.kehu51.com/js/showParentLoading_ListPage.js"></script>
    <script type="text/javascript" src="https://res28.kehu51.com/js/listcount.js" charset="utf-8"></script>
    <script type="text/javascript" src="https://res28.kehu51.com/js/openlistfollow.js" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="https://res28.kehu51.com/css/openlistfollow.css">
    <link rel="stylesheet" type="text/css" href="https://res28.kehu51.com/js/Audio/css/audio.css">
    <script type="text/javascript" src="https://res28.kehu51.com/js/Audio/js/audio.js" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="https://res28.kehu51.com/css/Call.css">
    <script type="text/javascript" src="https://res28.kehu51.com/js/CallCenter1.2.5.js?v=2018081907" charset="utf-8"></script>
    <script type="text/javascript" src="https://res28.kehu51.com/Dialog/zDialogSlider.js?v=20180727"></script>
    <link rel="stylesheet" href="/css/font.css">
    <link rel="stylesheet" href="/css/xadmin.css">

    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/js/xadmin.js"></script>

    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
</head>
<!--头部处理对象-->

<body marginwidth="10" marginheight="10" id="body">
    <div class="clearfix pagecaption2_fz">
        <div class="clearfix pagecaption-body">
            <ul class="pagetab_fz">
                <li>
                    <a class="" href="#"><span>由我负责的</span></a>
                </li>
                <li>
                    <a class="" href="#"><span>已处理的</span></a>
                </li>
                <li>
                    <a class="" href="#"><span>未处理的</span></a>
                </li>
            </ul>
        </div>
    </div>

    <!--工具栏开始-->

    <div class="tools">
        <div class="btn-group">
            <a class="noright rightrad" href="javascript:OpenCommonSearch();"><i class="toolfont color1"></i>搜索</a>
        </div>
        <div class="btn-group">
            <div class="btn-listbox" onmouseover="showWorkList('drop_add','')"
                 onmouseout="showWorkList('drop_add', 'none')">
                <a href="javascript:;" onclick="ComplaintsAddNew(0)" class="leftrad listbox"><i class="toolfont color1"></i>新建投诉</a>
                <div id="drop_add" class="listbox-item" onmouseout="showWorkList('drop_add', 'none')"
                     style="display: none;">
                    <ul>
                        <li>
                            <a id="a_new" href="javascript:void(0)">新建投诉</a>
                        </li>
                        <li>
                            <a href="javascript:void(0)">新建任务</a>
                        </li>
                        <li>
                            <a href="javascript:void(0)">新建跟进</a>
                        </li>
                    </ul>
                </div>
            </div>

            <a href="javascript:ComplaintsParentEditNew();" title="修改"><i class="toolfont color2"></i>修改</a>
            <a class="noright rightrad" href="javascript:ComplaintsCheckedDeleteNew();" title="删除"><i
                    class="toolfont color3"></i>删除</a>
        </div>
    </div>
    </div>

    <!--工具栏结束-->
    <!--表格内容开始-->
    <table class=" layui-table" lay-data="{height:315, url:'/j-complainAll/', page:true, id:'test',limits:[1,2,3,4,5],limit:1}" lay-filter="test">
        <thead>
        <tr>
            <th align="center" width="80px" class="notop" lay-data="{field:'id', sort: true}" style="cursor:pointer;">投诉时间</th>
            <th align="center" width="80px" class="notop" lay-data="{field:'complainName', sort: true}">客户名称</th>
            <th align="center" width="80px" class="notop" lay-data="{field:'complainTheme', sort: true}">投诉主题</th>
            <th align="center" width="80px" class="notop" lay-data="{field:'complainDegree',templet: '#titleTpl1', sort: true}">紧急程度</th>
            <th align="center" width="80px" class="notop" lay-data="{field:'complainEnteringName', sort: true}">录入人</th>
            <th align="center" width="80px" class="notop" lay-data="{field:'complainEnteringTime', sort: true}">录入时间</th>
            <th align="center"  width="80px" class="notop" lay-data="{field:'taskPrincipal',templet: '#titleTpl2', sort: true}">处理结果</th>
        </tr>
        </thead>
    </table>
    <!--表格内容结束-->
    <span id="span1" hidden></span></br><span hidden id="span2"></span></br>
<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/js/wjj/complain-show.js"></script>
    <script type="text/javascript" src="/js/wjj/complain-new.js"></script>
</body>

<script type="text/html" id="titleTpl1">
    {{#  if(d.complainDegree == 1){ }}
    <span>紧急</span>
    {{#  } else if(d.complainDegree == 2){ }}
    <span>非常紧急</span>
    {{#  } else { }}
    <span>十万火急</span>
    {{#  } }}
</script>
<script type="text/html" id="titleTpl2">
    {{#  if(d.taskPrincipal == 0){ }}
        <span>等待处理</span>
    {{#  } else { }}
    <span>处理完成</span>
    {{#  } }}
</script>


</html>